package cn.changein.framework.model.setting.thirdInterfaceConfig.mapper;

import cn.changein.framework.model.setting.thirdInterfaceConfig.entity.ThirdInterfaceConfig;
import cn.changein.framework.model.setting.thirdInterfaceConfig.model.params.ThirdInterfaceConfigParam;
import cn.changein.framework.model.setting.thirdInterfaceConfig.model.result.ThirdInterfaceConfigResult;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;


/**
 * <p>
 * 对接第三方接口的配置 Mapper 接口
 * </p>
 *

 * @Date 2021-01-21
 * @Copyright: companyName
 * @Version 1.0
 * @Since JDK1.8
 */
public interface ThirdInterfaceConfigMapper extends BaseMapper<ThirdInterfaceConfig> {

    /**
     * 获取列表
     *

     * @Date 2021-01-21
     */
    List<ThirdInterfaceConfigResult> customList(@Param("paramCondition") ThirdInterfaceConfigParam paramCondition);

    /**
     * 获取map列表
     *

     * @Date 2021-01-21
     */
    List<Map<String, Object>> customMapList(@Param("paramCondition") ThirdInterfaceConfigParam paramCondition);

    /**
     * 获取分页实体列表
     *

     * @Date 2021-01-21
     */
    Page<ThirdInterfaceConfigResult> customPageList(@Param("page") Page page, @Param("paramCondition") ThirdInterfaceConfigParam paramCondition);

    /**
     * 获取分页map列表
     *

     * @Date 2021-01-21
     */
    Page<Map<String, Object>> customPageMapList(@Param("page") Page page, @Param("paramCondition") ThirdInterfaceConfigParam paramCondition);

}
